﻿function validateLogInForm(msgUser,msgPass)
	{
		if(document.loginForm.userID.value=="" || document.loginForm.userID.value==null)
		{
			document.getElementById("alertID").innerHTML=""+msgUser;
			document.getElementById("alertID").style.color="red";
			document.loginForm.userID.focus();
			return false;
		}
		else
		{
			document.getElementById("alertID").innerHTML="";
		}
		
		if(document.loginForm.userPass.value=="" || document.loginForm.userPass.value==null)
		{
			document.getElementById("alertPass").innerHTML=""+msgPass;
			document.getElementById("alertPass").style.color="red";
			document.loginForm.userPass.focus();
			return false;
		}
		else
		{
			document.getElementById("alertPass").innerHTML="";
		}
		return true;
	}